var rspHandler = {
  handle: function (code) {
    var handler = false;
    if (code == '5000004') {
      wx.showModal({
        title: '查询失败',
        content: '不存在该商品',
        showCancel: false,
        success: function (res) {
          wx.navigateBack();
        }
      });
      handler = true;
    }
    return handler;

  }
}
module.exports = {
  handle: rspHandler.handle
}